﻿///<reference path="../../scripts/jquery-1.4.4.min.js" />


$(function () {
    $(".create-dialog").dialog({
        autoOpen: false,
        height: 500,
        width: 1000,
        modal: true
    });

    $('a.link-auto-dialog').click(function (e) {
        e.preventDefault();
        $('.create-dialog iframe').attr('src', $(this).attr("href"));
        $('.create-dialog').dialog("open");
        return false;
    })
})